package com.tw.community.components
{
	import mx.binding.utils.BindingUtils;
	import mx.controls.LinkBar;

	public class UniformLinkBar extends LinkBar
	{
		[Bindable]
		public var linkWidth:Number = 50;
		
		public function UniformLinkBar()
		{
			super();
		}
		
		override protected function createChildren():void{
			super.createChildren();
			for(var i:int = 0; i < this.numChildren; i++){
				BindingUtils.bindProperty(getChildAt(i), "width", this, "linkWidth");
			}
		}
	}
}